package com.example.demo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by Ray on 2018/10/22/022
 */
@FeignClient("eureka-client-producer")
public interface DcClient {

    @GetMapping("/dc")
    String dc();

    @GetMapping("/add")
    String add();

    @GetMapping("/test1")
    String test1();
}
